package com.ruoyi.seckill.constant;

import com.ruoyi.common.core.web.domain.CodeMsg;

/**
 * @Author: zhangJiang
 */


public class SeckillCodeMsg1 extends CodeMsg {
    private SeckillCodeMsg1(Integer code, String msg){
        super(code,msg);
    }

    public static final SeckillCodeMsg1 SECKILL_STOCK_OVER = new SeckillCodeMsg1(500201,"您来晚了，商品已经被抢购完毕.");
    public static final SeckillCodeMsg1 REPEAT_SECKILL = new SeckillCodeMsg1(500202,"您已经抢购到商品了，请不要重复抢购");
    public static final SeckillCodeMsg1 SECKILL_ERROR = new SeckillCodeMsg1(500203,"秒杀失败");
    public static final SeckillCodeMsg1 CANCEL_ORDER_ERROR = new SeckillCodeMsg1(500204,"超时取消失败");
    public static final SeckillCodeMsg1 PAY_SERVER_ERROR = new SeckillCodeMsg1(500205,"支付服务繁忙，稍后再试");
    public static final SeckillCodeMsg1 REFUND_ERROR = new SeckillCodeMsg1(500206,"退款失败，请联系管理员");
    public static final SeckillCodeMsg1 INTERGRAL_SERVER_ERROR = new SeckillCodeMsg1(500207,"操作积分失败");
    public static final SeckillCodeMsg1 PRODUCT_SERVER_ERROR = new SeckillCodeMsg1(500208,"商品服务繁忙，稍后再试.");
    public static final SeckillCodeMsg1 PAY_ERROR = new SeckillCodeMsg1(500209,"支付失败");
}
